<div class="RightColumn">
<form action="<?php echo base_url().index_page(); ?>/adminpage/cpanel/banner_manipulate/" method="post" enctype="multipart/form-data" name="adminForm" id="adminForm" autocomplete="off">
            <div class="P10">
                <h2 class="Title01 P10 BorderBot01">Banner Manager - Edit Banner</h2>
                 <div id="language" style="cursor:pointer"><img id="english" src="<?php echo base_url(); ?>assets/admin/img/uk.png" title="English"/>&nbsp;<img id="turkey" src="<?php echo base_url(); ?>assets/admin/img/Turkey.png" title="Turkish"/>
 </div>
                
                <div class="P10">
                <div id="en">
                    <h4 class="Title02 P10Bot">1. Enter Name:</h4>
                    <p class="FS12 P10Bot">
                        Name of banner
                    </p>
                    <div class="BlueBackground M20Bot">
                        <input  type="text"  name="txtBannerName1" id="txtBannerName" class="AllBoxText" value="<?php echo isset($banners[0]['title'])?$banners[0]['title']:""; ?>" style="width:30%;" />
                    </div>

                    <h4 class="Title02 P10Bot">2. Enter description:</h4>
                    <p class="FS12 P10Bot">
                        Some informations about this banner. Try to keep short.
                    </p>
                    <div class="BlueBackground M20Bot">
                        <input  type="text"  name="txtBannerDescription1" id="txtBannerDescription" class="AllBoxText" value="<?php echo isset($banners[0]['content'])?$banners[0]['content']:""; ?>" style="width:60%;" />
                    </div>

                    <h4 class="Title02 P10Bot">3. Upload English Banner Image:</h4>
                    <p class="FS12 P10Bot">
                        Please choose an image.
                    </p>
                    <div class="BlueBackground M20Bot">
                        <div class="Container">
					        <div class="Picture">
						     <?php if (isset($banners[0]['image']))
							{
							?>
						        <img src="<?php echo base_url(); ?>upload_file/slideshow/<?php echo $banners[0]['image']; ?>" width="279px" />
                            <?php 
							}
							
							else
							{
							?>
                            <img src="<?php echo base_url(); ?>assets/img/noimage.png" width="280px" />
                            <?php 
							}
							?>
					        </div>
					        <div class="Description1">
                                <p class="P10Bot"><strong>Allow file type</strong>: png, jpg, gif. <strong>Max size</strong>: 1 MB</p>
                                <ul class="UpLoadImage">
                                    <li><input  type="file" name="image1" class="AllBoxText" style="width:300px;" /></li>
                                    
                                </ul>
					        </div>
				        </div>
                    </div>
                    </div>
                    
                    <div id="tr">
                   
                    <h4 class="Title02 P10Bot">1. Enter Name:</h4>
                    <p class="FS12 P10Bot">
                        Name of banner
                    </p>
                    <div class="BlueBackground M20Bot">
                        <input  type="text"  name="txtBannerName2" id="txtBannerName" class="AllBoxText" value="<?php echo isset($banners[1]['title'])?$banners[1]['title']:""; ?>" style="width:30%;" />
                    </div>

                    <h4 class="Title02 P10Bot">2. Enter description:</h4>
                    <p class="FS12 P10Bot">
                        Some informations about this banner. Try to keep short.
                    </p>
                    <div class="BlueBackground M20Bot">
                        <input  type="text"  name="txtBannerDescription2" id="txtBannerDescription" class="AllBoxText" value="<?php echo isset($banners[1]['content'])?$banners[1]['content']:""; ?>" style="width:60%;" />
                    </div>

                    <h4 class="Title02 P10Bot">3. Upload Turkish Banner Image:</h4>
                    <p class="FS12 P10Bot">
                        Please choose an image.
                    </p>
                    <div class="BlueBackground M20Bot">
                        <div class="Container">
					        <div class="Picture">
                            <?php if (isset($banners[1]['image']))
							{
							?>
						        <img src="<?php echo base_url(); ?>upload_file/slideshow/<?php echo $banners[1]['image']; ?>" width="279px" />
                            <?php 
							}
							else
							{
							?>
                            <img src="<?php echo base_url(); ?>assets/img/noimage.png" width="280px" />
                            <?php 
							}
							?>
					        </div>
					        <div class="Description1">
                                <p class="P10Bot"><strong>Allow file type</strong>: png, jpg, gif. <strong>Max size</strong>: 1 MB</p>
                                <ul class="UpLoadImage">
                                    <li><input  type="file" name="image2" class="AllBoxText" style="width:300px;" /></li>
                                    
                                </ul>
					        </div>
				        </div>
                    </div>
					</div>
                    <h4 class="Title02 P10Bot">4. Sort Order:</h4>
                    <p class="FS12 P10Bot">
                        Enter a number for arranging items
                    </p>
                    <div class="BlueBackground M20Bot">
                        <input  type="text"  name="sorting" id="sorting" class="AllBoxText" value="<?php echo isset($banners[0]['sorting'])?$banners[0]['sorting']:"1"; ?>" style="width:30%;" />
                    </div>
                    <p class="W95">
                    <input type="hidden" name="currentid" value="<?php echo $id; ?>" />
                        <div style="width:100px;float:left"><a style="cursor:pointer" onclick="javascript: document.forms[0].submit();"  class="Button01" title="Save">Save</a></div><div style="width:20px;float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div><div style="width:100px;float:left"><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/bannermanager" class="Button01" title="Cancel">Cancel</a></div>
                    </p>
					<p class="W95">&nbsp;</p>
                </div>
            </div>
            </form>
</div>
<script>
jQuery(document).ready(function(){
	jQuery("#BannerManager").addClass('current');
});
</script>